from rest_framework.viewsets import ModelViewSet, ReadOnlyModelViewSet

from payment.models import Wallet
from payment.serializers import WalletSerializer


class WalletViewSet(ReadOnlyModelViewSet):
    queryset = Wallet.objects.all()
    serializer_class = WalletSerializer
